package user.service.impl;

import user.dao.AdministratorDao;
import user.dao.impl.AdministratorDaoImpl;
import user.entity.Administrator;
import user.service.AdministratorService;

public class AdministratorServiceImpl implements AdministratorService {
    AdministratorDao dao=new AdministratorDaoImpl();
    @Override
    public Administrator Login(String Account, String cipher) {
        return dao.Login(Account, cipher);
    }

    @Override
    public int AddInfo(Administrator a) {
        return dao.AddInfo(a);
    }

    @Override
    public int UpdateInfo(Administrator a) {
        return dao.UpdateInfo(a);
    }

    @Override
    public int UpdatePhone(Administrator a) {
        return dao.UpdatePhone(a);
    }
}
